package com.supreme.commonmongo.config;

import com.supreme.commonmongo.entity.MngLogger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MongoRepoConfig {

    @Bean
    public MngLogger mngLogger() {
        MngLogger logger = new MngLogger();
        logger.setController("controller");
        logger.setMethod("method");
        logger.setException("exception");
        return logger;
    }
}
